/**
 * BladeX Commercial License Agreement
 * Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
 * <p>
 * Use of this software is governed by the Commercial License Agreement
 * obtained after purchasing a license from BladeX.
 * <p>
 * 1. This software is for development use only under a valid license
 * from BladeX.
 * <p>
 * 2. Redistribution of this software's source code to any third party
 * without a commercial license is strictly prohibited.
 * <p>
 * 3. Licensees may copyright their own code but cannot use segments
 * from this software for such purposes. Copyright of this software
 * remains with BladeX.
 * <p>
 * Using this software signifies agreement to this License, and the software
 * must not be used for illegal purposes.
 * <p>
 * THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
 * not liable for any claims arising from secondary or illegal development.
 * <p>
 * Author: Chill Zhuang (bladejava@qq.com)
 */
package org.springblade.modules.students.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.Date;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 学员管理 实体类
 *
 * @author BladeX
 * @since 2024-06-15
 */
@Data
@TableName("tb_qy_students")
@Schema(description = "QyStudents对象")
@EqualsAndHashCode(callSuper = true)
public class QyStudentsEntity extends TenantEntity {

	/**
	 * 学生id
	 */
	@Schema(description = "学生id")
	private Long studentId;


	/**
	 * 学员名字
	 */
	@Schema(description = "电话类型")
	private String phoneType;

	/**
	 * 电话号码
	 */
	@Schema(description = "电话号码")
	private String phone;
	/**
	 * 学员名字
	 */
	@Schema(description = "学员名字")
	private String name;
	/**
	 * 学员备注
	 */
	@Schema(description = "学员备注")
	private String note;
	/**
	 * 学员年龄
	 */
	@Schema(description = "学员年龄")
	private Integer age;
	/**
	 * 学员描述
	 */
	@Schema(description = "学员描述")
	private String ageDesc;
	/**
	 * 性别
	 */
	@Schema(description = "性别")
	private String sex;
	/**
	 * 监护人
	 */
	@Schema(description = "监护人")
	private String guardianType;
	/**
	 * 电话
	 */
	@Schema(description = "电话")
	private String defaultMobile;
	/**
	 * 头像
	 */
	@Schema(description = "头像")
	private String avatarUri;
	/**
	 * 状态
	 */
	@Schema(description = "状态")
	private String newStatus;
	/**
	 * 会员编号
	 */
	@Schema(description = "会员编号")
	private String membershipCode;
	/**
	 * 来源
	 */
	@Schema(description = "来源")
	private String source;
	/**
	 * 学管师
	 */
	@Schema(description = "学管师")
	private Long teacherId;



	/**
	 * 有效期至
	 */
	@Schema(description = "生日")
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date birthday;


}
